/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.xd.dao;

import java.util.Collection;
import java.util.List;

import com.xy.biz.xd.domain.po.DocumentFlowHandleUserPO;
import com.xy.biz.xd.domain.query.DocumentFlowHandleUserQuery;

/**
 *
 *
 * @author zgy
 * @date 2022-5-24
 */
public interface DocumentFlowHandleUserDao {

	/**
	 * 保存
	 *
	 * @param documentFlowHandleUserPO
	 */
	int saveDocumentFlowHandleUser(DocumentFlowHandleUserPO documentFlowHandleUserPO);

	/**
	 * 保存多个
	 *
	 * @param collection
	 */
	int saveAllDocumentFlowHandleUser(Collection<DocumentFlowHandleUserPO> collection);

	/**
	 * 更新
	 *
	 * @param documentFlowHandleUserPO
	 */
	int updateDocumentFlowHandleUser(DocumentFlowHandleUserPO documentFlowHandleUserPO);

	/**
	 * 删除
	 *
	 * @param documentFlowHandleUserId
	 */
	int deleteDocumentFlowHandleUser(Long documentFlowHandleUserId);

	/**
	 * 查找一个
	 *
	 * @param documentFlowHandleUserId
	 * @return
	 */
	DocumentFlowHandleUserPO getDocumentFlowHandleUser(Long documentFlowHandleUserId);

	/**
	 * 查找多条
	 *
	 * @param collection
	 * @return
	 */
	List<DocumentFlowHandleUserPO> listDocumentFlowHandleUserById(Collection<Long> collection);

	/**
	 * 条件查找多条
	 *
	 * @param query 查找条件
	 * @return
	 */
	List<DocumentFlowHandleUserPO> listDocumentFlowHandleUser(DocumentFlowHandleUserQuery query);

	/**
	 * 条件统计个数
	 *
	 * @param query 查找条件
	 * @return
	 */
	int countDocumentFlowHandleUser(DocumentFlowHandleUserQuery query);

}
